<?php
// DIR
define('DIR_APPLICATION', 'application/');
define('DIR_SYSTEM', 'system/');
define('DIR_DATABASE', 'system/database/');
define('DIR_LANGUAGE', 'catalog/language/');
define('DIR_TEMPLATE', 'application/view/template/');
define('DIR_CONFIG', 'system/config/');
define('DIR_IMAGE', 'image/');
define('DIR_CACHE', 'system/cache/');
define('DIR_DOWNLOAD', 'download/');
define('DIR_LOGS', 'system/logs/');

define('HTTP_HOST',$_SERVER["HTTP_HOST"]);
define('DIR_IMAGES','http://'.$_SERVER["HTTP_HOST"].'/dms/application/view/image/');
define('DIR_JS','http://'.$_SERVER["HTTP_HOST"].'/dms/application/view/javascript/');
define('DIR_CSS','http://'.$_SERVER["HTTP_HOST"].'/dms/application/view/css/');
define('JQUERY_PATH','http://'.$_SERVER["HTTP_HOST"].'/dms/application/view/javascript/jquery1.4.3.min.js');
//define('JQUERY_PATH','http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js');

define('MAIN_PAGE', "http://".HTTP_HOST."/dms/");
define('HTTP_SERVER', "http://".HTTP_HOST."/dms/");
define('HTTP_IMAGE', HTTP_SERVER . 'image/');
define('HTTP_UPLOAD', HTTP_SERVER . 'uploads/');
define('TW_BOOTSTRAP', 'http://'.$_SERVER["HTTP_HOST"].'/dms/application/view/view/bootstrap/');


// DB
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'root');
define('DB_PASSWORD', '');
define('DB_DATABASE', 'dms');
define('DB_PREFIX', '');

//Pagination.

define('PER_PAGE',10);
?>